package com.xxx.controller.utils;

import lombok.Data;

@Data
public class R {
    private Integer state;
    private Object data;
    private String msg;

    public R() {
    }

    public R(Integer state) {
        this.state = state;
    }

    public R(Integer state, Object data) {
        this.state = state;
        this.data = data;
    }
    public R(Integer state,String msg) {
        this.state = state;
        this.msg = msg;
    }
    public R(Integer state,String msg,Object data) {
        this.state = state;
        this.msg = msg;
        this.data = data;
    }
}
